package com.netjava.pojo;

/**
 * Aucrecord entity.
 * 拍卖历史记录
 * @author MyEclipse Persistence Tools
 */

public class AucRecord implements java.io.Serializable {

	// Fields

	private Integer aucRecordId;//拍卖历史记录id
	private User user;//拍卖过该商品的用户
	private Product product;//拍卖的商品
	private Float aucPrice;//此次竞拍的价格
	private String aucTime;//此次竞拍的时间
	private String other1;//备用字段

	// Constructors

	/** default constructor */
	public AucRecord() {
	}

	/** full constructor */
	public AucRecord(User user, Product product, Float aucPrice,
			String aucTime, String other1) {
		this.user = user;
		this.product = product;
		this.aucPrice = aucPrice;
		this.aucTime = aucTime;
		this.other1 = other1;
	}

	// Property accessors

	public Integer getAucRecordId() {
		return this.aucRecordId;
	}

	public void setAucRecordId(Integer aucRecordId) {
		this.aucRecordId = aucRecordId;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Product getProduct() {
		return this.product;
	}

	public void setProduct(Product product) {
		this.product = product;
	}

	public Float getAucPrice() {
		return this.aucPrice;
	}

	public void setAucPrice(Float aucPrice) {
		this.aucPrice = aucPrice;
	}

	public String getAucTime() {
		return this.aucTime;
	}

	public void setAucTime(String aucTime) {
		this.aucTime = aucTime;
	}

	public String getOther1() {
		return this.other1;
	}

	public void setOther1(String other1) {
		this.other1 = other1;
	}

}